#pdf2imagescontainer {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

h1 {
    color: #3498db;
    margin-bottom: 20px;
}

.upload-btn, .navigation-btn, .download-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 16px;
}

.upload-btn {
    background-color: #3498db;
    color: #fff;
}

.navigation-btn, .download-btn {
    background-color: #2ecc71;
    color: #fff;
    margin-left: 10px;
}

#pdfUpload {
    display: none;
}

#imageContainer {
    text-align: center;
    margin: 20px 0;
}

.converted-image {
    max-width: 100%;
    margin-top: 20px;
}

.quality-input {
    margin-top: 10px;
    width: 50px;
    text-align: center;
}

.loading-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
